/**
 * Created by zhaomi on 16/5/19.
 */
function first(cb){
    var a=10
    cb(a)
}
function second() {
    var x
    first(function (a) {
        setTimeout(function () {
            console.log("hello")
            x=a
            return
        },10000)

    })
    return x
}
var aa=second()
console.log(aa)